DB KCBB%D Wave SignalsDB KCBB%D Wave Signals
What does the indicator do?
This indicator is a version of my DB KCBB%D indicator updated with signal detection. It results from weeks of analysis of the KCBB%D waves for patterns. I'm releasing it publicly to help those who like the KCBB%D indicator but desire a version with signals built into it.
The indicator plots the percent difference between the low and high prices against a combined Kelpler Channel Bollinger Bands for the current timeframe. The low percent difference and the high percent difference each have their own waves plotted. A mirror mode default allows both waves to be visualized in a mirrored plot that clearly shows when outer bands are present and when they swap. Each percent difference band is displayed with a 1 bar lookback to visualize local tops/bottoms.
The overall trend is displayed using two sets of green/red colors on the percent difference waves so that each wave is recognizable, but the overall price trend is visible. A fast 3 SMA is taken of each percent difference wave to obtain the overall trend and then averaged together. The trend is then calculated based on direction from the previous bar period.
How should this indicator be used?
By default, the indicator will display in a mirror mode which will display both the low and high percent change waves mirrored to allow for the most pattern recognition possible. You will notice the percent difference waves swap from inner to outer, showing the overall market direction for that timeframe. When each percent difference wave interacts with the zero line, it indicates either buys or sells opportunities depending on which band is on the inside. When the inner wave crosses zero, special attention should be paid to the outer wave to know if it's a significant move. Likewise, when the outer wave peaks, it can indicate buy or sell opportunities depending on which wave is on the outside.
A zero line and other lines are displayed from the highest of the high percent difference wave over a long period of time. The lines can measure movement and possible oversold/overbought locations or large volatility . You can also use the lines for crossing points for either wave as alerts to know when to buy or sell zones are happening.
When individual percent difference waves are designed to be reviewed without mirroring, the mirror checkbox can be unchecked in the settings. Doing so will display both the high and low percent difference waves separately. Using this display, you can more cleanly review how each wave interacts with various line levels.
For those who desire to only have half of the mirror or one set of waves inverted against each other, check the "mirrored" and the "mirrored flipped" checkboxes in the settings. Doing so will display the top half of the mirror indicator, which is the low percent difference wave with the high percent difference wave inverted.
The indicator will also change the background color of its own pane to indicate possible buy/sell periods (work in progress).
Does the indicator include any alerts?
Yes, they are a work in progress but starting out with this release, we have:
NOTE: This is an initial release version of this indicator. Please do not use these alerts with bots yet, as they will repaint in real-time.
NOTE: A later release may happen that will delay firing the events until 1/2 of the current bar time has passed.
NOTE: As with any indicator, watch your upper timeframe waves first before zooming into lower.
DB KCBB%D Buy Signal
DB KCBB%D Buy Warning Signal
DB KCBB%D Sell Signal
DB KCBB%D Sell Warning Signal
DB KCBB%D Death Cross Sell Signal
DB KCBB%D Trend Up Alert
DB KCBB%D Trend Down Alert
Use at your own risk and do your own diligence.
Enjoy!
Cari skrip untuk "Buy sell"
DB KCBB%D WavesDB KCBB%D Waves
What does the indicator do?
The indicator plots the percent difference between the low and high prices against a combined Kelpler Channel Bollinger Bands for the current timeframe. The low percent difference and the high percent difference each have their own waves plotted. A mirror mode default allows both waves to be visualized in a mirrored plot that clearly shows when outer bands are present and when they swap. Each percent difference band is displayed with a 1 bar lookback to visualize local tops/bottoms.
The overall trend is displayed using two sets of green/red colors on the percent difference waves so that each wave is recognizable, but the overall price trend is visible. A fast 3 SMA is taken of each percent difference wave to obtain the overall trend and then averaged together. The trend is then calculated based on direction from the previous bar period.
How should this indicator be used?
By default, the indicator will display in a mirror mode which will display both the low and high percent change waves mirrored to allow for the most pattern recognition possible. You will notice the percent difference waves swap from inner to outer, showing the overall market direction for that timeframe. When each percent difference wave interacts with the zero line, it indicates either buys or sells opportunities depending on which band is on the inside. When the inner wave crosses zero, special attention should be paid to the outer wave to know if it's a significant move. Likewise, when the outer wave peaks, it can indicate buy or sell opportunities depending on which wave is on the outside.
A zero line and other lines are displayed from the highest of the high percent difference wave over a long period of time. The lines can measure movement and possible oversold/overbought locations or large volatility. You can also use the lines for crossing points for either wave as alerts to know when to buy or sell zones are happening.
When individual percent difference waves are designed to be reviewed without mirroring, the mirror checkbox can be unchecked in the settings. Doing so will display both the high and low percent difference waves separately. Using this display, you can more cleanly review how each wave interacts with various line levels.
For those who desire to only have half of the mirror or one set of waves inverted against each other, check the "mirrored" and the "mirrored flipped" checkboxes in the settings. Doing so will display the top half of the mirror indicator, which is the low percent difference wave with the high percent difference wave inverted.
The indicator will also change the background color of its own pane to indicate possible buy/sell periods (work in progress).
Does the indicator include any alerts?
Yes, they are a work in progress but starting out with this release, we have:
NOTE: This is an initial release version of this indicator. Please do not use these alerts with bots yet, as they will repaint in real-time.
NOTE: A later release may happen that will delay firing the events until 1/2 of the current bar time has passed.
NOTE: As with any indicator watch your upper timeframe waves first before zooming into lower.
DB KCBB%D Buy Zone Alert
DB KCBB%D MEDIUM Buy Alert
DB KCBB%D STRONG Buy Alert
DB KCBB%D Sell Alert
DB KCBB%D STRONG Sell Alert
DB KCBB%D Trend Up Alert
DB KCBB%D Trend Down Alert
Use at your own risk and do your own diligence.
Enjoy!
LevelsManagerLibrary "LevelsManager"
TODO: Track up to 6 TakeProfits and 1 StopLoss achievement for one or many of your buy/sell conditions.
manageTrade(bool, bool, bool, string, string, float, float, bool, bool, bool, bool, bool, bool, float, float, float, float, float, float, float)
โโTrack TakeProfits and StopLoss achievement for one or many of your buy/sell conditions. CHECK the commented section: "Function @manageTrade" for Description
โโParameters:
โโโโ bool : useSignal.
โโโโ bool : b_gameOVer.
โโโโ bool : b_gameOVer.
โโโโ string : bName.
โโโโ string : sName.
โโโโ float : buyEntrySource.
โโโโ float : sellEntrySource.
โโโโ bool : useTp1.
โโโโ bool : useTp2.
โโโโ bool : useTp3.
โโโโ bool : useTp4.
โโโโ bool : useTp5.
โโโโ bool : useTp6.
โโโโ float : tp1x.
โโโโ float : tp2x.
โโโโ float : tp3x.
โโโโ float : tp4x.
โโโโ float : tp5x.
โโโโ float : tp6x.
โโโโ float : slx.
โโReturns: check commented section: "Function @manageTrade".
showOnlyFirstOccurence(booleanInput)
โโSingle out the occurence of a bool series between to 2 bool series.
โโParameters:
โโโโ booleanInput : to activate or deactivate occurences filtering.
โโReturns: filterred or not bool series.
Trend MasterThis is a trend aggregator for confirmation and trend signals. It basically aggregates many buy/sell signals and confirmation and by combining them provides a strong buy/sell signal or trend confirmation.
The actual layout idea and trend confirmation is derived from Trend Meter and this indicator uses few other indicator, such as Chandelier Exit, WaveTrend, QQE Signals, Parabolic SAR and AlphaTrend. This indicator aggregates signal from different methods to find out more powerful and confirmed Trend and combines them into one Signal. It also uses Technical Ratings from TradingView team to filter out false signal, it tremendously opts out false signals and improve profitability.
The first seven dots are these
All 3 Trend Meters Now Align
MACD Crossover - Fast - 8, 21, 5
RSI 13: > or < 50
RSI 5: > or < 50
MA Crossover
MA Crossover
Chaikin Money Flow
Alphatrend
Technical Ratings
Then trend
Chandelier Exit
WaveTrend
QQE Signals
Parabolic Sar
All 3 Trend Meters aligns and A signal from trend i
Instructions
Change buy/sell policy based on market trend
Works on all TimeFrame but gives more accuracy on 4H, 1D.
Buy when green big dot appears at the bottom.
Sell when red big dot appears at the bottom.
Red/green dot at the top line appears when three trend meter is aligned and this is a good confirmation.
Any red/green dot below horizontal bars are trend signals.
Big red/green got at the bottom appears whenever there's a good confirmation from trend meter and a buy/sell signal comes from any trend signals.
Also look on the technical ratings bar, green means buy, red means sell and yellow means neutral.
Look for Support or Resistance Levels for price to be attracted to.
Find confluence with other indicators.
The more Trend meters are lit up the better.
Alert
01 Buy Signal = Strong Buy Signal
02 Sell Signal = Strong Sell Signal
03 Buy Signal = Strong Buy Signal
04 Sell Signal = Strong Sell Signal
Thanks to TradingView Technical Ratings authors, evergot, Lij_MC, KivancOzbilgic for their work. This indicator was heavily inspired from their work.
Candles Colored Green/Red According To Buy & Sell PressureCANDLES COLORED GREEN OR RED ACCORDING TO BUY & SELL PRESSURE
This indicator paints each candle green, red or blue depending on whether the buy/sell pressure for that candle is bullish, bearish or neutral.
***TURN OFF NORMAL CANDLE COLORS***
For this script to show properly on the chart, make sure you go to chart settings(gear icon in top right corner) and in the symbol tab, uncheck body, borders and wick.
***HOW TO USE***
When the directional movement index indicator shows more buying pressure than selling pressure, the candle will appear lime green. This indicates bullish buying pressure.
When the directional movement index indicator shows more selling pressure than buying pressure, the candle will appear red. This indicates bearish selling pressure.
When the directional movement index indicator shows the same amount of buy and sell pressure, the candle will appear blue. This indicates neutral buy/sell pressure.
Use the color changes to see if there is more buying or selling to pinpoint reversals and understand current market buying. Wait to enter or exit positions until the candles turn the opposite color.
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex.
***TIMEFRAMES***
This DMI color coded candlestick indicator can be used on all timeframes.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are our Auto Fibonacci, Directional Movement Index, Color Coded Buy & Sell Pressure Volume Profile, Auto Support And Resistance and Money Flow Index in combination with this Buy & Sell pressure Candle indicator.
Volume Play This is going to be my first published indicator on Trading View. Thanks for TradingView for providing us this great platform And thanks for all of those who helps me to built this indicator and share there ideas.I cannot mention everyone name here believe me that list going to be huge.Everyoneโs idea and help is much appreciated.This is how our TradingView community is growing day by day with kindness and knowledge. Every time I take so much from community in form knowledge that every time somewhere I feel that I also need to do something for community and finally day arrived .A gift from my side to community.A gift of indicator-VOLUME PLAY
This volume based indicator has High Relative Volume bar Background, Low Relative Volume bar background ,Volume Labels of Buying volume, Selling volume and Total volume count with percentage, Highest Volume in Percentage and Highest 5x volume count and 10x volume count of bar.Plus I have did column scaling to take Down pan input so you can switch pane or add in existing pane without any major problem And all this works on any time frame. Isnโt it good idea?
This indicator displays theย volumeย of each session in a similar manner of the defaultย volumeย indicator.However it add on the last bar Green and Red bar colours. Green means buying is more than selling and Red means selling is more than buying.On top of Some bar If number appears That means thatโs volume is highest multiple volume of 5 and if number appears with label means highest multiple volume of 10.So simple without label volume counts means 5x and with label means 10x.
Now some of bars has background colour of Mint green , Pastel red and White.Thatโs highlight high relative volume barsย with a highly buying activity rangeย in Greenย and high relative volume barsย with a highly selling activity rangeย in Red And white background is low relative volume for that timeframe bar.
I am kind of person who donโt keep show indicator value enable all time.So itโs come in mind why not plot this values without enabling it.So I decided to show this values of buying, selling and total volumes on top near middle pane.Interesting thing is that I made a label with the help of pine script Table feature.Thanks a lot toย Pine Teamย to add this new great feature!ย Itโs great alternative for labels feature.Because of this feature I am able to locate buying, selling and total volume at right place where in most of scenario it will adjust.
Please note that all values are estimate.Itโs not accurate.I show volumes in K,M form.Plus with volume I also try to show Buying And Selling volume in percentage form to get rough idea about whatโs going on in instrument.Idea is to get better view ofย volume by splitting it into Buying , Sellingย and Total volume.This allows you to see are the bulls or bears in-control in relation to the overallย Volume.
By default this indicator overlay is false but you can move this indicator pane to existing upper or lower pane.It will help to save space as well.If combine with two indicator at same pane then it will create two value scale at right side.So you will not loose any indicators values.By default I used 50% of vertical space in indicator scale factor.
I tried to make this indicator as accurate as inbuilt volume indicator with added extra feature.The main aim of indicator to get Idea of volume role in that symbol with that specific timeframe.Result might not be accurate but I expect somewhat nearby to accurate.
Kept source code open purposely for learners of pine script. Please avoid misuse or selling of this indicator.Remember Sharing Is Caring. If someone has suggestions or any addition then please comment below.Wishing you all abundance of health, wealth, and prosperity.
After all its all about VOLUME PLAY.
Disclaimer:-This indicator is not meant for buy or sell signals.This post and the script donโt provide any financial advice. This indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.
{Gunzo} Bulls Power vs. Bears PowerBulls Power vs. Bears Power is a unique tool that displays on each candle the balance between the bears (sellers) and the bulls (buyers).
OVERWIEW :
This indicator is mainly based on the popular indicator โElder rayโ made by Dr. Alexander Elder in 1989. This indicator has been developed in order to determine the strength of the competing groups of buyers and sellers in the markets.
CALCULATION :
To measure the competing power of bulls and bears, the indicator compares the current high (maximum power of the bulls) and current low (maximum power of the bears) to the average price using a exponential moving average.
Bull Power = Current High โ EMA 13 (closing)
Bear Power = Current Low โ EMA 13 (closing)
This Elder ray indicator can also tell us more information about market conditions :
If the current high and current low are above the EMA 13, the bulls are totally in control on the market
If the current high and current low are under the EMA 13, the bears are totally in control of the market
If the EMA 13 is in between of the current high and current low, there is strong fight about controlling the market, there is possible reversal in this configuration
SETTINGS :
Fast MA Period : Fast moving average period (only used for buy sell signal)
Slow MA Period : Slow moving average period (only used for buy sell signal)
Display candle labels : Show/hide candle labels on the chart
Display only bear labels above X : Exclude all top candle labels on the chart below the value specified.
Display only bull labels above X : Exclude all bottom candle labels on the chart below the value specified.
Display opposite values : Show all candle labels on top (bearish) and bottom (bullish) or only show the candle labels for the winning force on the candle.
Display box for last candle : Show/hide the dominance boxes (red and blue) after last candle showing the last bear and bull power.
Display box after X candles : How many candles in the future the dominance boxes should be displayed.
Display slow / fast crossover (o) : Display crossover signals (circles) between fast line and slow line.
Display bear / bull fighting (x) : Display fighting signals (crosses) between bull and bears.
VISUALIZATIONS :
This indicator has 3 possible complementary visualizations:
Candle labels : The labels on top are the percentage of the bears on the candle, while the labels on the bottom are the percentage of the bulls on the candle. When the bulls are winning the labels are blue, when the bears are winning the labels are red, silver otherwise.
Box after last candle : The blue and red boxes after the last candle are the percentage of bears and bulls on the last candle of the chart. That boxes can be disabled in the settings if you feel it is redundant with the labels.
Signals : The signals are displayed at the bottom of the main area of trading. The orange โxโ represents an area where bulls and bears are fighting hard. The blue โoโ represents a buy signal (fast line crosses over the slow line) and the red โoโ represents a sell sinal (fast line crosses under the slow line).
USAGE :
The most important rule in the usage of this indicator is :
โThe higher the current bull power is (or bear power), the higher the chances are the next candle will also be bullish (or bearish).โ
When the prices is increasing, it is very interesting to follow the bull power to verify that it is either stable or increasing. If the bull power keeps decreasing candle after candle, there is chances that in the next candles there will be a reversal.
When there is orange crosses in the signal area (bottom of the screen), it means that there is a big fight between bulls and bears and that the current price of the asset is probably stable. During these fighting areas, reversals are more likely to happen.
When there is a blue circle in the signal area (or red signal), it can be considered as a buy signal (or sell signal). These signals are determined by the crossover of the fast and slow lines of the total power of the bulls plus the bears.
LIMITATIONS :
As Pine script only allows to display about 50 drawings on the chart, the labels on the candles can not be printed on all the historical candles. The option โDisplay oppositesโ could be useful to hide unnecessary labels and then be able to display more older labels.
As the Elder ray indicator uses an average price (EMA 13 of closing price), the indicator may be lagging in some situations, but most of the time it will help to filter the bad signals contrary to the indicators that are too reactive.
[DS]Entry_Exit_TRADE.V01-StrategyThe proposal of this script is to show the possible trading points of BUY and SELL based on the 15-minute chart of the Nasdaq Future Index. The start point of the strategy was schedule for 2021/01/01 and until the time of this publication (2021/01/31), for 1 index contract the results presented area a Gross Profit of 2.97% with a Net Profit of 1.35%.
โโFEATURES
The indicator shows on the graph the position of the MACD and TSI indicators that are the places of strength among Buyers and Sellers.
It's possible to observe a sharp fall or rise in the price of these positions.
On the current candle, a label is displayed containing the value of the William %R Mod indicator, which will display the OverBought position (dark red) and OverSold position (dark green). The other colors like light red and green are the regions where the price makes the decision of which direction to go.
There are also other indicators:
a) The positions of the BUY (light green) and SELL areas (light red);
b) The label with the position of BUY (dark green) and SELL (dark red) with the line that connects these points;
c) DEMA 72 (orange);
d) EmaOchl4 in the color green for BULL and red for BEAR market;
e) Pivots high and low
f) Maximum (purple light) and minimum areas (blue light)
โโFUNCTIONS AND SETTINGS
The indicator uses the following functions:
(1) DEMA - Double Exponential Moving Average (08,17,34, 72)
(2) ema () - Exponential Moving Averge (72, ohlc4)
(3) plot()
(4) barcolor()
(5) cross()
(6) pivots ()
(7) William R% Md (OverBought = -7, OverSold=-93)
(8) Maximum and Minimum Value
(9) fill()
(10) macd () - Moving Average Convergence Divergence (Fast Lengt=12, Slow Length=26, Source=close, Signal Smoothing=9)
(11) tsi() - Trading Strenght Indicator==> Iฬndice de Forcฬงa Real ( IFR ) (Long Length=72, Short Length=17, Signal Length=17)
(12) Buy and Sell TRADE Points
โโPERFORMANCE AND ERRORS
The positions of BUY and SELL points are defined through the crossing of the Dema 34 candles with the Ema Ohcl4. As it is an indicator, it can present different positions from de market direction. Thus there is a need to observe the direction of the market in order to verify whether the indicate decision is really acceptable. The decision to BUY or SELL an asset must be well studied to avoid financial losses. The indicator will only help you in this decision, is your responsibility the decision of entering or leaving an asset.
โโTHANKS TO
PineCoders for all they do, all the tools and help they provide, and their involvement in making a better community. All the PineCoders, Pine Pros, and Pine Wizards, people who share their work and knowledge for the sake of it and helping others, I'm very happy and grate full indeed.
โโNOTE
If you have any suggestions for improving the script or need help using it, please send a message in the comments
Precise_SignalThis signal combines a portion of Chris Moody's 2014 SlingShot and my 2017 MTF Indicators. Both of our prior scripts over indicated Buy and Sell Points. This signal indicates a buy or sell point much less than our prior scripts did but with absolute precision.
I would say it is 100% accurate, but that is because I am yet to find a timeframe and symbol where the Buy signal failed to see the equity move up or the Sell signal failed to see the equity move down over the next 5 bars. I have tested 2000 charts so far. To be safe, I would rather state this indicator is accurate nearly 100% of the time.
The indicator is made up of 2 main portions and both of them have to agree on a buy or sell in order to indicate such with a vertical green or maroon bar beneath the chart. If there is a failure to agree, nothing is signaled.
Indicator 1 combines a stochastic of a 3 hour chart and a daily chart to determine when the stochastics are in agreement on direction. When there is agreement, both of them MUST cross from a buy state to a sell state and vice versa at exactly the same time. This is difficult to achieve and it is already rare for this occurrence to produce a signal. When a signal is produce it is combine with Chris Moody's 2014 SlingShot Indicator which conservatively determines Buy and Sell signals based on EMAs and market direction. Signals from his SlingShot are infrequent.
BUY Signal
When my MTF signals Buy at the same time that the SlingShot signals a Buy, a vertical green bar will appear in the window containing this script. The vertical bar is based on the close price of the equity and is only final when the close price is final. A BUY signal means the equity will move up potentially as early as the next bar and achieve a higher value from the close price on the signal bar.
SELL Signal
Likewise, a sell signal from the MTF at the same time as a sell signal from the SlingShot will create a maroon bar in the window containing this script. The vertical bar is based on the close price of the equity and is only final when the close price is final. A SELL signal means the equity will move down potentially as early as the next bar and achieve a lower value from the close price on the signal bar.
The default values for this script are hard-coded into this script. You can edit any of the value you would like to play with other timeframes, stochastic, and moving average lengths.
I have played with these values and have hard-coded the ones that are most accurate. Please let me know if you find others that work.
Hopefully this becomes an extra tool in your technical trading toolkit.
Delta Volume Columns Pro [LucF]โโ OVERVIEW
This indicator displays volumeโโ delta information calculated with intrabar inspection on historical bars, and feed updates when running in realtime. It is designed to run in a pane and can display either stacked buy/sell volumeโ columns or a signal line which can be calculated and displayed in many different ways.
Five different models are offered to reveal different characteristics of the calculated volumeโ delta information. Many options are offered to visualize the calculations, giving you much leeway in morphing the indicator's visuals to suit your needs. If you value delta volumeโ information, I hope you will find the time required to master Delta Volumeโ Columns Pro well worth the investment. I am confident that if you combine a proper understanding of the indicator's information with an intimate knowledge of the volumeโ idiosyncrasies on the markets you trade, you can extract useful market intelligence using this tool.
โโ WARNINGS
1. The indicator only works on markets where volumeโ information is available,
โโPlease validate that your symbol's feed carries volumeโ information before asking me why the indicator doesn't plot values.
2. When you refresh your chart or re-execute the script on the chart, the indicator will repaint because elapsed realtime bars will then recalculate as historical bars.
3. Because the indicator uses different modes of calculation on historical and realtime bars, it's critical that you understand the differences between them. Details are provided further down.
4. Calculations using intrabar inspection on historical bars can only be done from some chart timeframes. See further down for a list of supported timeframes.
โโIf the chart's timeframe is not supported, no historical volumeโ delta will display.
โโ CONCEPTS
Chart bars
Three different types of bars are used in charts:
โ1. Historical bars are bars that have already closed when the script executes on them.
โ2. The realtime bar is the current, incomplete bar where a script is running on an open market. There is only one active realtime bar on your chart at any given time.
โโโThe realtime bar is where alerts trigger.
โ3. Elapsed realtime bars are bars that were calculated when they were realtime bars but have since closed.
โโโWhen a script re-executes on a chart because the browser tab is refreshed or some of its inputs are changed, elapsed realtime bars are recalculated as historical bars.
Why does this indicator use two modes of calculation?
Historical bars on TradingView charts contain OHLCV data only, which is insufficient to calculate volumeโ delta on them with any level of precision. To mine more detailed information from those bars we look at intrabars , i.e., bars from a smaller timeframe (we call it the intrabar timeframe ) that are contained in one chart bar. If your chart Is running at 1D on a 24x7 market for example, most 1D chart bars will contain 24 underlying 1H bars in their dilation. On historical bars, this indicator looks at those intrabars to amass volumeโ delta information. If the intrabar is up, its volumeโ goes in the Buy bin, and inversely for the Sell bin. When price does not move on an intrabar, the polarity of the last known movement is used to determine in which bin its volumeโ goes.
In realtime, we have access to price and volumeโ change for each update of the chart. Because a 1D chart bar can be updated tens of thousands of times during the day, volumeโ delta calculations on those updates is much more precise. This precision, however, comes at a price:
โโ The script must be running on the chart for it to keep calculating in realtime.
โโ If you refresh your chart you will lose all accumulated realtime calculations on elapsed realtime bars, and the realtime bar.
โโElapsed realtime bars will recalculate as historical bars, i.e., using intrabar inspection, and the realtime bar's calculations will reset.
โโWhen the script recalculates elapsed realtime bars as historical bars, the values on those bars will change, which means the script repaints in those conditions.
โโ When the indicator first calculates on a chart containing an incomplete realtime bar, it will count ALL the existing volumeโ on the bar as Buy or Sell volumeโ,
โโdepending on the polarity of the bar at that point. This will skew calculations for that first bar. Scripts have no access to the history of a realtime bar's previous updates,
โโand intrabar inspection cannot be used on realtime bars, so this is the only to go about this.
โโ Even if alerts only trigger upon confirmation of their conditions after the realtime bar closes, they are repainting alerts
โโbecause they would perhaps not have calculated the same way using intrabar inspection.
โโ On markets like stocks that often have different EODโ and intraday feeds and volumeโ information,
โโthe volume's scale may not be the same for the realtime bar if your chart is at 1D, for example,
โโand the indicator is using an intraday timeframe to calculate on historical bars.
โโ Any chart timeframe can be used in realtime mode, but plots that include moving averages in their calculations may require many elapsed realtime bars before they can calculate.
โโYou might prefer drastically reducing the periods of the moving averages, or using the volumeโ columns mode, which displays instant values, instead of the line.
Volume Delta Balances
This indicator uses a variety of methods to evaluate five volumeโ delta balances and derive other values from those balances. The five balances are:
1 โ On Bar Balance : This is the only balance using instant values; it is simply the subtraction of the Sell volumeโ from the Buy volumeโ on the bar.
2 โ Average Balance : Calculates a distinct EMA for both the Buy and Sell volumes, and subtracts the Sell EMA from the Buy EMA.
3 โ Momentum Balance : Starts by calculating, separately for both Buy and Sell volumes, the difference between the same EMAs used in "Average Balance" and
โโan SMA of double the period used for the "Average Balance" EMAs. The difference for the Sell side is subtracted from the difference for the Buy side,
โโand an RSI of that value is calculated and brought over the โ50/+50 scale.
4 โ Relative Balance : The reference values used in the calculation are the Buy and Sell EMAs used in the "Average Balance".
โโFrom those, we calculate two intermediate values using how much the instant Buy and Sell volumes on the bar exceed their respective EMAโโโbut with a twist.
โโIf the bar's Buy volumeโ does not exceed the EMA of Buy volumeโ, a zero value is used. The same goes for the Sell volumeโ with the EMA of Sell volumeโ.
โโOnce we have our two intermediate values for the Buy and Sell volumes exceeding their respective MA, we subtract them. The final "Relative Balance" value is an ALMA of that subtraction.
โโThe rationale behind using zero values when the bar's Buy/Sell volumeโ does not exceed its EMA is to only take into account the more significant volumeโ.
โโIf both instant volumeโ values exceed their MA, then the difference between the two is the signal's value.
โโThe signal is called "relative" because the intermediate values are the difference between the instant Buy/Sell volumes and their respective MA.
โโThis balance flatlines when the bar's Buy/Sell volumes do not exceed their EMAs, which makes it useful to spot areas where trader interest dwindles, such as consolidations.
โโThe smaller the period of the final value's ALMA, the more easily you will see the balance flatline. These flat zones should be considered no-trade zones.
5 โ Percent Balance : This balance is the ALMA of the ratio of the "On Bar Balance" value, i.e., the volumeโ delta balance on the bar (which can be positive or negative),
โโover the total volume for that bar.
From the balances and marker conditions, two more values are calculated:
1 โ Marker Bias : It sums the up/down (+1/โ1) occurrences of the markers 1 to 4 over a period you define, so it ranges from โ4 to +4, times the period.
โโIts calculation will depend on the modes used to calculate markers 3 and 4.
2 โ Combined Balances : This is the sum of the bull/bear (+1/โ1) states of each of the five balances, so it ranges from โ5 to +5.
โโ FEATURES
The indicator has two main modes of operation: Columns and Line .
Columns
โข In Columns mode you can display stacked Buy/Sell volumeโ columns.
โข The buy section always appears above the centerline, the sell section below.
โข The top and bottom sections can be colored independently using eight different methods.
โข The EMAs of the Buy/Sell values can be displayed (these are the same EMAs used to calculate the "Average Balance").
Line
โข Displays one of seven signals: the five balances or one of two complementary values, i.e., the "Marker Bias" or the "Combined Balances".
โข You can color the line and its fill using independent calculation modes to pack more information in the display.
โYou can thus appraise the state of 3 different values using the line itself, its color and the color of its fill.
โข A "Divergence Levels" feature will use the line to automatically draw expanding levels on divergence events.
Default settings
Using the indicator's default settings, this is the information displayed:
โข The line is calculated on the "Average Balance".
โข The line's color is determined by the bull/bear state of the "Percent Balance".
โข The line's fill gradient is determined by the advances/declines of the "Momentum Balance".
โข The orange divergence dots are calculated using discrepancies between the polarity of the "On Bar Balance" and the chart's bar.
โข The divergence levels are determined using the line's level when a divergence occurs.
โข The background's fill gradient is calculated on advances/declines of the "Marker Bias".
โข The chart bars are colored using advances/declines of the "Relative Balance". Divergences are shown in orange.
โข The intrabar timeframe is automatically determined from the chart's timeframe so that a minimum of 50 intrabars are used to calculate volumeโ delta on historical bars.
Alerts
The configuration of the marker conditions explained further is what determines the conditions that will trigger alerts created from this script. Note that simply selecting the display of markers does not create alerts. To create an alert on this script, you must use ALT-A from the chart. You can create multiple alerts triggering on different conditions from this same script; simply configure the markers so they define the trigger conditions for each alert before creating the alert. The configuration of the script's inputs is saved with the alert, so from then on you can change them without affecting the alert. Alert messages will mention the marker(s) that triggered the specific alert event. Keep in mind, when creating alerts on small chart timeframes, that discrepancies between alert triggers and markers displayed on your chart are to be expected. This is because the alert and your chart are running two distinct instances of the indicator on different servers and different feeds. Also keep in mind that while alerts only trigger on confirmed conditions, they are calculated using realtime calculation mode, which entails that if you refresh your chart and elapsed realtime bars recalculate as historical bars using intrabar inspection, markers will not appear in the same places they appeared in realtime. So it's important to understand that even though the alert conditions are confirmed when they trigger, these alerts will repaint.
Let's go through the sections of the script's inputs.
Columns
The size of the Buy/Sell columns always represents their respective importance on the bar, but the coloring mode for tops and bottoms is independent. The default setup uses a standard coloring mode where the Buy/Sell columns are always in the bull/bear color with a higher intensity for the winning side. Seven other coloring modes allow you to pack more information in the columns. When choosing to color the top columns using a bull/bear gradient on "Average Balance", for example, you will have bull/bear colored tops. In order for the color of the bottom columns to continue to show the instant bar balance, you can then choose the "On Bar Balance โ Dual Solid Colors" coloring mode to make those bars the color of the winning side for that bar. You can display the averages of the Buy and Sell columns. If you do, its coloring is controlled through the "Line" and "Line fill" sections below.
Line and Line fill
You can select the calculation mode and the thickness of the line, and independent calculations to determine the line's color and fill.
Zero Line
The zero line can display dots when all five balances are bull/bear.
Divergences
You first select the detection mode. Divergences occur whenever the up/down direction of the signal does not match the up/down polarity of the bar. Divergences are used in three components of the indicator's visuals: the orange dot, colored chart bars, and to calculate the divergence levels on the line. The divergence levels are dynamic levels that automatically build from the line's values on divergence events. On consecutive divergences, the levels will expand, creating a channel. This implementation of the divergence levels corresponds to my view that divergences indicate anomalies, hesitations, points of uncertainty if you will. It precludes any attempt to identify a directional bias to divergences. Accordingly, the levels merely take note of divergence events and mark those points in time with levels. Traders then have a reference point from which they can evaluate further movement. The bull/bear/neutral colors used to plot the levels are also congruent with this view in that they are determined by the line's position relative to the levels, which is how I think divergences can be put to the most effective use. One of the coloring modes for the line's fill uses advances/declines in the line after divergence events.
Background
The background can show a bull/bear gradient on six different calculations. As with other gradients, you can adjust its brightness to make its importance proportional to how you use it in your analysis.
Chart bars
Chart bars can be colored using seven different methods. You have the option of emptying the body of bars where volumeโ does not increase, as does my TLD indicator, and you can choose whether you want to show divergences.
Intrabar Timeframe
This is the intrabar timeframe that will be used to calculate volumeโ delta using intrabar inspection on historical bars. You can choose between four modes. The three "Auto-steps" modes calculate, from the chart's timeframe, the intrabar timeframe where the said number of intrabars will make up the dilation of chart bars. Adjustments are made for non-24x7 markets. "Fixed" mode allows you to select the intrabar timeframe you want. Checking the "Show TF" box will display in the lower-right corner the intrabar timeframe used at any given moment. The proper selection of the intrabar timeframe is important. It must achieve maximal granularity to produce precise results while not unduly slowing down calculations, or worse, causing runtime errors. Note that historical depth will vary with the intrabar timeframe. The smaller the timeframe, the shallower historical plots you will be.
Markers
Markers appear when the required condition has been confirmed on a closed bar. The configuration of the markers when you create an alert is what determines when the alert will trigger. Five markers are available:
โข Balances Agreement : All five balances are either bullishโ or bearishโ.
โข Double Bumps : A double bump is two consecutive up/down bars with +/โ volumeโโ delta, and rising Buy/Sell volumeโ above its average.
โข Divergence confirmations : A divergence is confirmed up/down when the chosen balance is up/down on the previous bar when that bar was down/up, and this bar is up/down.
โข Balance Shifts : These are bull/bear transitions of the selected signal.
โข Marker Bias Shifts : Marker bias shifts occur when it crosses into bull/bear territory.
Periods
Allows control over the periods of the different moving averages used to calculate the balances.
Volumeโ Discrepancies
Stock exchanges do not report the same volumeโ for intraday and daily (or higher) resolutions. Other variations in how volumeโ information is reported can also occur in other markets, namely Forex, where volumeโ irregularities can even occur between different intraday timeframes. This will cause discrepancies between the total volumeโ on the bar at the chart's timeframe, and the total volumeโโ calculated by adding the volumeโโ of the intrabars in that bar's dilation. This does not necessarily invalidate the volumeโโ delta information calculated from intrabars, but it tells us that we are using partial volumeโ data. A mechanism to detect chart vs intrabar timeframe volumeโโ discrepancies is provided. It allows you to define a threshold percentage above which the background will indicate a difference has been detected.
Other Settings
You can control here the display of the gray dot reminder on realtime bars, and the display of error messages if you are using a chart timeframe that is not greater than the fixed intrabar timeframe, when you use that mode. Disabling the message can be useful if you only use realtime mode at chart timeframes that do not support intrabar inspection.
โโ RAMBLINGS
On Volumeโ Delta
Volumeโ is arguably the best complement to interpret price action, and I consider volumeโ delta to be the most effective way of processing volumeโ information. In periods of low-volatility price consolidations, volumeโ will typically also be lower than normal, but slight imbalances in the trend of the buy/sell volumeโ balance can sometimes help put early odds on the direction of the break from consolidation. Additionally, the progression of the volumeโ imbalance can help determine the proximity of the breakout. I also find volumeโ delta and the number of divergences very useful to evaluate the strength of trends. In trends, I am looking for "slow and steady", i.e., relatively low volatilityโ and pauses where price action doesn't look like world affairs are being reassessed. In my personal mythology, this type of trend is often more resilient than high-volatility breakouts, especially when volumeโ balance confirms the general agreement of traders signaled by the low-volatility usually accompanying this type of trend. The volumeโ action on pauses will often help me decide between aggressively taking profits, tightening a stop or going for a longer-term movement. As for reversals, they generally occur in high-volatility areas where entering trades is more expensive and riskier. While the identification of counter-trend reversals fascinates many traders to no end, they represent poor opportunities in my view. Volumeโ imbalances often precede reversals, but I prefer to use volumeโ delta information to identify the areas following reversals where I can confirm them and make relatively low-cost entries with better odds.
On "Buy/Sell" Volume
Buying or selling volumeโ are misnomers, as every unit of volumeโ transacted is both bought and sold by two different traders. While this does not keep me from using the terms, there is no such thing as โbuy onlyโ or โsell onlyโ volumeโ. Trader lingo is riddled with peculiarities.
Divergences
The divergence detection method used here relies on a difference between the direction of a signal and the polarity (up/down) of a chart bar. When using the default "On Bar Balance" to detect divergences, however, only the bar's volumeโ delta is used. You may wonder how there can be divergences between buying/selling volumeโ information and price movement on one bar. This will sometimes be due to the calculation's shortcomings, but divergences may also occur in instances where because of order book structure, it takes less volumeโ to increase the price of an asset than it takes to decrease it. As usual, divergences are points of interest because they reveal imbalances, which may or may not become turning points. To your pattern-hungry brain, the divergences displayed by this indicator willโโโas they do on other indicatorsโโโappear to often indicate turnarounds. My opinion is that reality is generally quite sobering and I have no reliable information that would tend to prove otherwise. Exercise caution when using them. Consequently, I do not share the overwhelming enthusiasm of traders in identifying bullishโ/bearishโ divergences. For me, the best course of action when a divergence occurs is to wait and see what happens from there. That is the rationale underlying how my divergence levels work; they take note of a signal's level when a divergence occurs, and it's the signal's behavior from that point on that determines if the post-divergence action is bullishโ/bearishโ.
Superfluity
In "The Bed of Procrustes", Nassim Nicholas Taleb writes: To bankrupt a fool, give him information . This indicator can display lots of information. While learning to use a new indicator inevitably requires an adaptation period where we put it through its paces and try out all its options, once you have become used to it and decide to adopt it, rigorously eliminate the components you don't use and configure the remaining ones so their visual prominence reflects their relative importance in your analysis. I tried to provide flexible options for traders to control this indicator's visuals for that exact reasonโโโnot for window dressing.
โโ LIMITATIONS
โข This script uses a special characteristic of the `security()` function allowing the inspection of intrabarsโโโwhich is not officially supported by TradingView.
โIt has the advantage of permitting a more robust calculation of volumeโ delta than other methods on historical bars, but also has its limits.
โข Intrabar inspection only works on some chart timeframes: 3, 5, 10, 15 and 30 minutes, 1, 2, 3, 4, 6, and 12 hours, 1 day, 1 week and 1 month.
โThe scriptโs code can be modified to run on other resolutions.
โข When the difference between the chartโs timeframe and the intrabar timeframe is too great, runtime errors will occur. The Auto-Steps selection mechanisms should avoid this.
โข All volumeโ is not created equally. Its source, components, quality and reliability will vary considerably with sectors and instruments.
โThe higher the quality, the more reliably volumeโ delta information can be used to guide your decisions.
โYou should make it your responsibility to understand the volumeโ information provided in the data feeds you use. It will help you make the most of volumeโ delta.
โโ NOTES
For traders
โข The Data Window shows key values for the indicator.
โข While this indicator displays some of the same information calculated in my DeltaโVolumeโColumns ,
โI have elected to make it a separate publication so that traders continue to have a simpler alternative available to them. Both code bases will continue to evolve separately.
โข All gradients used in this indicator determine their brightness intensities using advances/declines in the signalโnot their relative position in a pre-determined scale.
โข Volumeโ delta being relative, by nature, it is particularly well-suited to Forex markets, as it filters out quite elegantly the cyclical volumeโ data characterizing the sector.
If you are interested in volumeโ delta, consider having a look at my other "Delta Volume" indicators:
โข DeltaโVolumeโRealtimeโAction displays realtime volumeโ delta and tick information on the chart.
โข DeltaโVolumeโCandles builds volumeโโ delta candles on the chart.
โข DeltaโVolumeโColumns is a simpler version of this indicator.
For coders
โข I use the `f_c_gradientRelativePro()` from the PineCoders Color Gradient Framework to build my gradients.
โThis function has the advantage of allowing begin/end colors for both the bull and bear colors. It also allows us to define the number of steps allowed for each gradient.
โI use this to modulate the gradients so they perform optimally on the combination of the signal used to calculate advances/declines,
โbut also the nature of the visual component the gradient applies to. I use fewer steps for choppy signals and when the gradient is used on discrete visual components
โsuch as volumeโ columns or chart bars.
โข I use the PineCoders Coding Conventions for Pine to write my scripts.
โข I used functions modified from the PineCoders MTF Selection Framework for the selection of timeframes.
โโ THANKS TO:
โ The devs from TradingView's Pine and other teams, and the PineCoders who collaborate with them. They are doing amazing work,
โand much of what this indicator does could not be done without their recent improvements to Pine.
โ A guy called Kuan who commented on a Backtest Rookies presentation of their Volume Profile indicator using a `for` loop.
โThis indicator started from the intrabar inspection technique illustrated in Kuan's snippet.
โ theheirophant , my partner in the exploration of the sometimes weird abysses of `security()`โs behavior at intrabar timeframes.
โ midtownsk8rguy , my brilliant companion in mining the depths of Pine graphics.
35EMA Cross BuyAndSell Strategy + RIBBON [d3nv3r]This strategy allow the user to move the EMA which control the Buy&Sell Strategy and show the EMA ribbon that can be found in the Template area.
Buy showing the ribbon and letting the user to adjust the EMA signaling the B&S strat the user can create an elaborated strategy for buyPoint and sellPoint.
The 35EMA Cross is choosen by default but I recommend to move it to find best Sell point and best Buy point as you would not react on the same EMA for a Buy signal and a Sell Signal..
It would be good to have buy signal on a EMA and the sell signal on another but that's for another Strategy to be shared.
Let me know by commenting what you would like for the next one !
Delta Volume Columns [LucF]Displays delta volume columns using intrabar volume information. Each volume column is divided into three sections: buying, selling and neutral volume. Volume for each section is determined from the volume and price movement of each intrabar at a user-selected lower resolution.
Features include:
- Choice of color themes for either dark or light chart backgrounds
- Delta volume columns
- Volume Balance displayed as the difference between the MAs of buying and selling volume
- Display of divergences between a barโs volume balance and the barโs price movement (example: buying volume > selling volume but close < open). Divergences can be shown in 2 different color schemes (including green/red showing a tentative direction), on volume columns and/or on chart bars
- Display of bar by bar volume balance with highlighting of above average volume
- Display of the usual total volume MA
- Choice of the lower resolution used to retrieve intrabar information
- Alerts configurable on any combination of the markers, with control over long/short direction
- Choice of 3 different markers:
1. Double bumps: two consecutive bars where buying or selling volume is in the same direction and where volume > volume MA
2. Divergence confirmations: direction of the price bar following a price/volume balance divergence
3. Volume balance shifts: zero level crossings of the volume balance MA delta
The chart shows the two main modes of display:
- Top pane : shows the stacked volume columns with divergences in orange and the flattened volume balance MAs delta at the bottom of the volume columns. This volume balance is the same shown in the bottom pane. The top pane also shows the instant volume balance strip above the volume columns. The stripโs colors show which of the buying or selling volume was greater, and colors are brighter if the total volume was above the total volume MA.
- Bottom pane : shows the volume balance MAs delta with markers 1 and 2. Given that this graphic has no price momentum component, I find quite eerie how it often looks like a momentum-based signal.
The default 5 minute intrabar resolution is used in combination with the weekly chart, which is excessive.
This script uses a special characteristic of the security() functionโs behavior when it is sent to a resolution lower than the chartโs resolution. Details are given in the scriptโs comments. This method has the advantage of working under more circumstances than some of the other loop-based methods, but it also has its limits.
IMPORTANT
This is what you need to know:
- The method used does not work on the realtime barโonly on historical bars. Consequently, the volume column shown on the realtime bar is a normal volume column plotted in green or red, following price movement. The column will only show delta volume information after it closes and becomes a historical bar.
- The indicator only works on some chart resolutions: 5, 10, 15 and 30 minutes, 1, 2, 4, 6, and 12 hours, 1 day, 1 week and 1 month. The scriptโs code can be modified to run on other resolutions, but chart resolutions must be divisible by the lower resolution used for intrabars.
- Intrabar resolutions can be selected from 1, 5, 15, 30, 45 minutes, 1, 2, 3, 4 hours, 1 day, 1 week and 1 month. The intrabar resolution must of course be smaller than the chartโs resolution.
- Contrary to my other indicators where alerts must be configured to trigger โOnce Per Bar Closeโ in order to avoid false triggers (or repainting), all this indicatorโs alerts are designed to trigger using previous bar information since the indicatorโs calculations in the realtime bar are not exact. Markers are not plotted with a negative offset; they appear at the beginning of the realtime bar following confirmation of the markerโs condition on the previous bar. Alerts for this indicator should thus be configured to trigger โOnce Per Barโ so they trigger at the beginning of the realtime bar. Note that the penalty is not that great, as it is simply the instant between the close of the previous realtime bar and the opening of the next. The advantage of using this technique is that the indicator does not repaint; a marker that appears at the beginning of the realtime bar will never disappear.
- The script only plots information that is reliable in the realtime bar, i.e., total volume and markers. All other plots are set to n/a to prevent misleading traders.
- When the difference between the chartโs resolution and the lower resolution is too important, volume columns will not calculate for all bars in the dataset.
On Delta Volume
Buying or selling volume are misnomers, as every unit of volume transacted is both bought and sold by 2 different traders. There is no such thing as โbuy onlyโ or โsell onlyโ volume, but trader lingo is riddled with original fabulations.
Without access to order book information, traders work with the assumption that when price moves up during a bar, there was more buying pressure than selling pressure. The built-in volume indicator available on TradingView uses this logic to color the volume columns green or red. While this scriptโs numbers are more precise because it analyses a number of intrabars to calculate its information, it uses the exact same imperfect logic to calculate its buying/selling/neutral sections.
Until Pine scripts can have access to how much volume was transacted at the bid/ask prices, our so-called buying/selling volume information will always be a mere proxy.
Divergences
You may wonder how there can be divergences between buying/selling volume information and price movement. This will sometimes be due to the methodologyโs shortcomings we have just discussed, but divergences may also occur in instances where because of order book structure, it takes less volume to increase the price of an asset than it takes to decrease it.
As usual, divergences are points of interest because they reveal imbalances, which may or may not become turning points. I do not share the overwhelming enthusiasm traders have for divergences. To your pattern-hungry brain, the orange bars this indicator shows on chart willโas divergences on other indicators doโappear to often indicate turnarounds. My opinion is that reality is generally quite sobering, as many who have tried building automated rules based on divergences will tell you. I do not have hard numbers on the lack of performance of divergencesโonly many failed attempts to make them perform, which a few experienced strategy modelers I know share with me. Please donโt try to read too much into them. While they look great on past data, I find they are often difficult to use in realtime to make bets with good odds.
Thanks to:
- A guy called Kuan who commented on a Backtest Rookies presentation of an intrabar delta volume indicator using a for loop. The heart of โmyโ indicator is code borrowed from Kuan; I just built a hopefully useful wrapper around it.
- @theheirophant, my partner in the exploration of the sometimes weird abysses of security() โs behavior at lower resolutions.
Consensio With SignalsUsing the ideas from "Consensio" system, by Tyler Jenks, this Indicator shows a Buy and sell values, with 3 levels
using the position order of 3 smas: short, medium and large
There are 3 combinations indicating buy and 3 indicating sell:
Example: LSM (Long SMA Top, Then Short, Then Medium)
3 levels each. More level more power signal for buy or sell
MLS = Sell Level 1
LSM = Sell Level 2
LMS = Sell Level 3
SLM = Buy Level 1
SML = Buy Level 3
MSL = Buy Level 2
The triangles on top of the indicator shows any cross of the 3 SMAs and the level of buy/sell signal of the combination
Consensio HystogramUsing the ideas from "Consensio" system, by Tyler Jenks, this Indicator shows a Buy and sell values, with 3 levels
using the position order of 3 smas: short, medium and large
There are 3 combinations indicating buy and 3 indicating sell:
Example: LSM (Long SMA Top, Then Short, Then Medium)
3 levels each. More level more power signal for buy or sell
MLS = Sell Level 1
LSM = Sell Level 2
LMS = Sell Level 3
SLM = Buy Level 1
SML = Buy Level 3
MSL = Buy Level 2
The triangles on top of the indicator shows any cross of the 3 SMAs and the level of buy/sell signal of the combination
The hystogram shows a composed value, using the distance of each SMA to the close price of each bar and te result is
multiplied by the actual combination order of the SMAs, positive values for Buy, negative for shell, using values from 1 to 3
The longer the SMA period, more weight has in the result value.
(These factors are editables)
My defaults:
50% using Long SMA
35% Using Medium SMA
15% Using Short SMA
Let me know if you encounter this as useful as me.
Nakitxu
Chaikin MF% (CMFP) w. Alerts, Bells & Whistles [LucF]This is Chaikinโs Money Flow indicator on a 0-100 scale with buy/sell signals, alerts and other bells & whistles.
It includes:
- a fast EMA (16 periods by default),
- a slow MA (64 periods by default),
- histograms,
- 3 different sorts of crosses,
- big swings identification,
- buy/sell signals on CMFP crossing back from outside user-defined levels,
- buy/sell signals on the slow MA pivots above/below user-defined levels,
- alerts on big swings and buy/sells.
This indicator started with @LazyBear code (VAPI) at:
@cI8DH then changed the scale to 0-100, which I find very useful:
I then added the rest.
The chart above shows both clean and busy versions of the indicator.
Note that the default length is 10 rather than the commonly used 20. I use CMFP in conjunction with VFI and like the fact that it is faster than VFI. The default inputs show the way I normally use this indicator, with the slow MA shown in histogram mode. I find it gives good context to the signal line. Crosses between the two are often useful.
The buy/sell signals arenโt the main attraction of this indicator, and nothing to write home about. Like the big swing markers, I think itโs more realistic to view them as pointers to potentially interesting areas on charts. Their nature makes them more suited to identifying reversals. They certainly arenโt reliable enough to turn this study into a strategy and I normally donโt use them. The levels pre-defined for the buy/sell signals on CMFP are most useful on short intervals. The buy/sell signals on the slow MA pivots work on a more complete range of intervals. Optimization for your specific instruments and intervals will improve their reliability.
As usual when defining alerts, be sure you already have defined proper inputs and that you are on the intended interval, as they will be used when triggering alerts.
oenbot BB Buying OpportunitiesThis is my first attempt to emulate the eonbot BB strategy (github.com).
Definitely a beta version, need to work out why false positives, and stop buy/sells after previous buy/sell.
In the wiki page example of eonbot it refers to 75%, in this script enter the converse ... 25% and it should plot accurately.
If you are not familiar with eonbot check out the wiki & github sites : github.com
credits to: www.tradingview.com for the trending components
SMMA Analyses - Buy / Sell signals and close position signals This script combines the usage of the SMMA indicator in order to provide signals for opening and closing trades, either buy or sell signals.
It uses two SMMA , a fast and a slow one, both configurable by the users.
The trigger of Buy and Sell Signals are calculated through the SMMA crosses:
Buy Signals : The fast SMMA crosses over the slow SMMA . They are highlighting by a green area and a "B" label.
Sell Signals : The fast SMMA crosses under the slow SMMA . They are highlighting by a red area and a "S" label
The trigger of Close Buy and Close Sell Signals are calculated through the close price crosses with the fast SMMA:
Close Buy Signals : The fast SMMA crosses under the close price and at the same time the trend is bullish , so the fast SMMA is greater than the slow SMMA . They are highlighted by a lighter green area
Close Sell Signals : The fast SMMA crosses over the close price and at the same time the trend is bearish , so the fast SMMA is lower than the slow SMMA . They are highlighted by a lighter red area
Few important points about the indicator and the produced signals :
This is not intended to be a strategy, but an indicator for analyzing the SMMA conditions. It gives you the triggers depending on the real time analysis of the SMMA and prices, but not being a proper strategy, pay attention about "fake signals" and add always a visual analysis to the provided signals
Following this indicator, the trade positions should be opened only when a cross happens. Either in this case, analyse the chart in order to see if the signals are a "weak" ones, due to "waves" around the SMMA . In these cases, you might wait for the next confirmation signals after the waves, when the trend will be better defined
The close trade signals are provided in order to help to understand when you should close the buy or sell trades. Even in this case, always add a visual analysis to the signals, and pay attention to the support/resistance areas. Sometimes, you can have the close signals in correspondence to support/resistance areas: in these cases wait for the definition of the trend and eventually for the next close trade signals if they will be better defined
Reversal Candle Pattern SetUp
An outside reversal candle set up script with buy/sell signals. Looks simple but it's pretty powerful especially if combined with your choice confirming indicator.
The pattern psychology is this one (Frank Ochoa explanation): " The power behind this pattern lies in the psychology behind the traders involved in this setup. If you have ever participated in a breakout at support or resistance only to have the market reverse sharply against you, then you are familiar with the market dynamics of this setup.
[Basically, market participants are testing the waters above resistance or below support to make sure there is no new business to be done at these levels. When no initiative buyers or sellers participate in range extension, responsive participants have all the information they need to reverse price back toward a new area of perceived value.
As you look at a bullish outside reversal pattern, you will notice that the current bar's low is lower than the
prior bar's low. Essentially, the market is testing the waters below recently established lows to see if a downside
follow-through will occur. When no additional selling pressure enters the market, the result is a flood of buying
pressure that causes a springboard effect, thereby shooting price above the prior bar's highs and creating the
beginning of a bullish advance."
[codapro] Projection Bands Description
Projection Bands is a visual forecasting tool designed to help traders anticipate potential breakouts and breakdowns before they occur.
Unlike traditional lagging overlays, this indicator uses forward slope estimation, pressure-adjusted volatility, and band expansion models to project likely price zones over time.
Whether you're momentum trading or watching for reversion signals, this system provides a powerful forward-looking edge.
Key Features
Forward Slope Logic using price regression and return-based momentum
Pressure Modeling Input (0โ100) to simulate contrarian or trending environments
Volatility-Based Band Expansion using both return sigma and ATR
Live Re-Anchoring every 30 minutes for fresh projection pivots
Customizable Band Width Scaling (Square Root of Time vs Linear)
Optional Band Trail for historical projection reference
Buy/Sell Signals with directional logic, not reversals
Buy/Sell Signals
Sell: Price closes below the lower projection band
Buy: Price closes above the upper projection band
Signals trigger only on confirmed candle closes beyond the outer boundaries.
Default Settings (Optimized)
Setting Value
Projection Horizon 180 minutes
Bars Ahead (Forecast Span) 20 bars
Re-Anchor Interval 30 minutes
Projection Mode Momentum
Contrarian Weight 0.5
Momentum Weight 0.5
Band Width Scaling Linear
Return Volatility Multiplier 0.25
ATR Volatility Multiplier 1.0
Pressure Influence Multiplier 0.5
ATR Multiplier (Step Size) 1.0
Return Multiplier (Step Size) 1.0
Dummy Pressure 50
How It Works
This system blends multiple components into a forward projection engine:
Forward Slope Logic
The projected band centerline is based on:
A weighted regression of return-based momentum, and
A contrarian pressure adjustment using ATR or log-return volatility.
This hybrid model allows the bands to lean into or away from trend direction, unlike standard overlays that lag behind price.
Pressure Modeling
The Pressure input (0โ100) modifies the projection behavior:
Low pressure (0โ30): favors trend continuation
High pressure (70โ100): favors contrarian pullback logic
Mid-range (around 50): balanced projection
Pressure affects both the forecast slope and volatility expansion.
Volatility Width Scaling
Band width expands over time using a combination of:
Return volatility (standard deviation of log returns)
ATR volatility for smoother baseline context
The band expansion can follow either:
Square Root of Time (for options-style risk scaling), or
Linear Growth (more aggressive for trending environments)
As volatility rises , the projected bands widen, reflecting an expanding range of possible future price movement.
How to Use It
Use for breakout anticipation or volatility modeling.
Watch for price closes outside the band boundaries as a signal for potential movement continuation.
Adjust pressure to simulate market regime: trend vs mean-reversion.
Customize bars ahead and re-anchor interval to match your timeframe.
Use alongside structure or volume tools for greater confluence.
Disclaimer
This tool was created using the CodaPro Pine Script indicator design engine โ an architecture system for building visual signal overlays and automated alerts.
It is provided for educational and informational purposes only and does not constitute financial advice. Always test thoroughly before applying to live market conditions.
PVSRA Dashboard PRO [Customized]# ๐ OPERATING MANUAL: Institutional Volume Suite (v1.0)
**Integrated Systems:** PVSRA Dashboard PRO + SR High Volume Boxes + Massive Order Spike Detector
---
## 1. SYSTEM PHILOSOPHY
This ecosystem tracks **Institutional Order Flow**. The core principle is that "Smart Money" leaves undeniable footprints through abnormal volume (Spikes) and specific price zones (High Volume Boxes). The system filters retail noise to identify where "Whales" are accumulating or distributing positions.
---
## 2. VISUAL DICTIONARY & SIGNALS
### A. PVSRA & Candles (Institutional Sentiment)
| Candle Color | Signal Type | Operational Meaning |
| :--- | :--- | :--- |
| ๐ข **Bright Green** | **Bull Climax** | Maximum Volume. Strong institutional buying or "Blow-off top". |
| ๐ฃ **Magenta** | **Bear Climax** | Maximum Volume. Strong institutional selling or "Selling climax". |
| ๐ต **Blue** | **Bull Rising** | Above-average volume. Professional buying interest. |
| ๐ด **Red/Orange** | **Bear Rising** | Above-average volume. Professional selling interest. |
| โช **Grey** | **Normal** | Retail volume. Low institutional participation. |
### B. SR Boxes & Spike Detector (The Triggers)
* **Teal Boxes:** High Volume Support (Demand Zone).
* **Red Boxes:** High Volume Resistance (Supply Zone).
* **Triangles (โฒ/โผ):** "Massive Order Spike". Statistical confirmation of heavy entry.
* **Diamonds (โ):** Real-time confirmation that a level (Box) is "Holding."
---
## 3. THE PRO DASHBOARD (Confluence Matrix)
Always consult the top-right dashboard before executing a trade:
1. **Momentum (9/20):** Short-term direction (Green Cloud = Long, Red = Short).
2. **Trend (20/50):** Health of the intermediate trend.
3. **Inst. Trend (200):** The master filter. Above SMA 200, look for Longs only; below, Shorts only.
4. **Delta Pressure:** Shows if the actual money flow is positive (BUY) or negative (SELL).
5. **CONFLUENCE PRO:** The final verdict. "STRONG BUY/SELL" means all parameters are aligned.
---
## 4. OPERATIONAL PROTOCOL (STRATEGY)
### **Phase 1: Zone Identification**
Identify where the price is relative to the **High Volume Boxes**.
- *Long Setup:* Price enters a Teal Box or tests a dashed "Support-Flip" line.
- *Short Setup:* Price enters a Red Box or tests a dashed "Resistance-Flip" line.
### **Phase 2: The Trigger (Action)**
Wait for the coordinated appearance of signals:
1. **PVSRA Color:** The candle must turn Climax (Green/Magenta).
2. **Order Spike:** The Triangle confirmation must appear.
3. **Level Confirmation:** The Diamond (โ) appears, indicating a bounce/rejection from the zone.
### **Phase 3: Execution**
- **ENTRY:** Enter when the Dashboard shows "STRONG BUY/SELL" coinciding with Phase 2 signals.
- **STOP LOSS:** Placed behind the opposite limit of the Box or the Climax candle wick.
- **TAKE PROFIT:** Use the **Dashed Recovery Lines** or the opposite High Volume Box.
---
## 5. RECOMMENDED TECHNICAL CONFIGURATION
| Parameter | Value | Notes |
| :--- | :--- | :--- |
| **PVSRA Climax** | 2.7 | Captures only the most significant institutional moves. |
| **Spike Multiplier** | 4.0 | Filters out statistical noise. |
| **Inst. SMA** | 200 | Blue (
EDUVEST QQE Grade System - S/A/B/C Signal ClassificationEDUVEST QQE Grade System - S/A/B/C Signal Classification
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ORIGINALITY
This indicator introduces a unique grading system (S/A/B/C) for QQE signals, combining traditional QQE analysis with SMC (Smart Money Concepts) price zones and trading session filters. Unlike standard QQE indicators that show all signals equally, this version classifies signals by quality to help traders focus on the highest probability setups.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ WHAT IT DOES
- Generates BUY/SELL signals with S/A/B/C grade classification
- Automatically detects asset type and applies optimized QQE factors
- Integrates SMC price zones (support/resistance) for grade enhancement
- Filters signals by trading session time
- Displays real-time session and market status
Grade Hierarchy:
- S (Gold/Orange): Signal near SMC zone + active trading hours - Highest quality
- A (Green/Red): Score 70+ during trading hours - High quality
- B (Darker): Score 50-69 during trading hours - Medium quality
- C (Gray, small): Outside trading hours or weak signal - Low quality
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ HOW IT WORKS
ใQQE Core Calculationใ
The QQE (Quantitative Qualitative Estimation) is calculated as:
1. RSI with configurable period (default: 14)
2. EMA smoothing of RSI (Smoothing Factor: 5)
3. Dynamic bands using Wilder's smoothing: RSI ยฑ (ATR of RSI ร QQE Factor)
QQE Factor is auto-adjusted per asset:
- USD/JPY: 4.238
- EUR/USD: 3.8
- Gold (XAU/USD): 8.0
- NASDAQ/US100: 9.0
ใSignal Generationใ
- BUY: QQE line crosses above its trailing stop (QQExlong == 1)
- SELL: QQE line crosses below its trailing stop (QQExshort == 1)
ใInternal Scoring Systemใ
Score components (0-100):
- Signal Base: +25 points when signal occurs
- QQE Strength: +10 to +20 based on RSI distance from 50
- Volatility: +15 (optimal ATR ratio 1.1-2.0), -10 (low volatility)
- Volume Confirmation: +10 (high volume), -5 (low volume)
- Session Bonus: +5 during London/NY sessions
- Base: +20 points
ใGrade Assignmentใ
- Grade S: Signal near user-defined SMC price zone (within tolerance %) AND during trading hours
- Grade A: Internal score >= 70 AND during trading hours
- Grade B: Internal score >= 50 AND during trading hours
- Grade C: Outside trading hours OR score < 50
ใSMC Price Zone Integrationใ
Users can set support/resistance levels for each asset. When price is within the tolerance percentage of these levels, signals are upgraded to S-grade, indicating confluence with institutional price levels.
ใTrading Session Filterใ
Configurable active trading hours (JST timezone):
- Default: 15:00 - 01:00 JST (London + NY overlap)
- Signals outside this window receive C-grade
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ HOW TO USE
ใRecommended Settingsใ
- Timeframe: 15M, 1H, 4H
- Best on: USD/JPY, EUR/USD, Gold, NASDAQ
- Focus on: S and A grade signals
ใTrading Strategyใ
- S-Grade (Gold/Orange): Highest conviction - consider larger position
- A-Grade (Green/Red): Strong signal - standard position
- B-Grade: Valid but use additional confirmation
- C-Grade: Avoid or use minimal size
ใSetting Up SMC Zonesใ
1. Identify key support/resistance on higher timeframe
2. Input prices in SMC Price Settings
3. Adjust tolerance % (default: 0.15%)
4. S-grade appears when signal occurs near these levels
ใInfo Panelใ
Top-right panel shows:
- Asset name and detection mode (Auto/Manual)
- Current session (Tokyo/London/NY)
- Trading hours status
- SMC zone proximity
ใAlert Setupใ
1. Enable alerts in settings
2. Create alert with "Any alert() function call"
3. Alerts include grade, price, and session info
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ SETTINGS
Basic Settings:
- Enable Alerts: Turn on/off notifications
- Time Filter: Activate trading hour filter
- Start/End Hour: Define active trading window (JST)
QQE Settings:
- RSI Period: RSI calculation period
- RSI Smoothing: EMA smoothing factor
- Auto QQE Factor: Auto-detect optimal factor per asset
- Manual QQE Factor: Override when auto is disabled
SMC Price Settings:
- Support/Resistance levels for each asset
- Tolerance %: How close to SMC line for S-grade
Display Settings:
- Grade Only: Hide QQE lines, show only signals
- Show SMC Lines: Display support/resistance on chart
- Show Debug: Display asset detection info
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ CREDITS
QQE concept originally developed by John Ehlers.
SMC (Smart Money Concepts) integration and grading system by EduVest.
License: Mozilla Public License 2.0
EDUVEST QQE Signal v3.0 - Multi-Timeframe Scoring SystemEDUVEST QQE Signal v3.0 - Multi-Timeframe Scoring System
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ORIGINALITY
This indicator combines QQE (Quantitative Qualitative Estimation) with HMA (Hull Moving Average) and introduces a unique AI-based scoring system that rates signal quality from 0-100. Unlike traditional QQE indicators that show simple buy/sell signals, this version categorizes signals into four strength levels: BIG CHANCE, SUPER, POWER, and STRONG.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ WHAT IT DOES
- Generates scored BUY/SELL signals with quality ratings (60-100 points)
- Categorizes signals into 4 strength levels for easy decision making
- Supports Multi-Timeframe (MTF) analysis
- Auto-detects asset type and applies optimized QQE factors
- Provides customizable alerts based on score thresholds
Signal Hierarchy:
- ๐ฐ BIG CHANCE (90-100): Highest probability setups
- โก SUPER (80-89): Very strong signals
- ๐ POWER (70-79): Strong signals with HMA confluence
- ๐ช STRONG (60-69): Standard quality signals
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ HOW IT WORKS
ใQQE Calculationใ
QQE is based on a smoothed RSI with dynamic bands:
1. Calculate RSI with specified period (default: 14)
2. Apply EMA smoothing to RSI (Smoothing Factor, default: 5)
3. Calculate ATR of the smoothed RSI
4. Create dynamic bands: RSI ยฑ (ATR ร QQE Factor)
The QQE Factor is automatically adjusted per asset:
- Forex (USDJPY, EURUSD): 3.8 - 4.238
- Gold (XAUUSD): 8.0
- Crypto (BTC): 12.0, (ETH): 10.0
- Indices (NASDAQ): 4.238
ใHMA Calculationใ
Hull Moving Average for trend confirmation:
HMA = WMA(2 ร WMA(price, n/2) - WMA(price, n), โn)
ใSignal Generationใ
- BUY: QQE crosses above its band (QQExlong == 1)
- SELL: QQE crosses below its band (QQExshort == 1)
ใAI Scoring Systemใ
The score is calculated from multiple factors:
Signal Base (0-35 points):
- QQE + HMA confluence: +35
- QQE or HMA alone: +25
QQE Strength (10-25 points):
- RSI distance from 50 (momentum strength)
- >30 distance: +25, >20: +20, >10: +15, else: +10
Volatility Score (-10 to +15 points):
- ATR ratio 1.1-2.0: +15 (optimal volatility)
- ATR ratio <0.8: -10 (low volatility warning)
Volume Confirmation (-5 to +15 points):
- Volume > 120% of average: +15
- Volume < 80% of average: -5
Base Points: +15
Final Score = Clamped(0, 100, sum of all factors)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ HOW TO USE
ใRecommended Settingsใ
- Timeframe: 5M, 15M, 1H, 4H
- Best on: Forex, Gold, NASDAQ, BTC/ETH
- Minimum Score: 60 (adjustable)
ใReading Signalsใ
- BIG CHANCE (Gold label, 90+): Highest conviction - consider larger position
- SUPER (Yellow label, 80-89): Very strong - standard position
- POWER (Cyan/Magenta label, 70-79): Strong with trend confirmation
- STRONG (Green/Red label, 60-69): Valid but use additional confirmation
ใMTF Featureใ
Enable MTF to analyze signals from a higher timeframe while viewing lower timeframe charts. The indicator auto-selects 5-minute as the analysis timeframe, or you can set it manually.
ใAlert Setupใ
1. Enable alerts in settings
2. Set minimum score threshold (default: 60)
3. Create alert with "Any alert() function call"
ใImportant Notesใ
- Signals are confirmed at bar close (no repainting)
- Higher scores = higher probability, not guaranteed profits
- Always use proper risk management
- Consider market context and support/resistance levels
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ SETTINGS
โฑ๏ธ MTF Settings
- MTF Use: Enable multi-timeframe analysis
- Manual Timeframe: Override auto-detection
- Show Panel: Display info panel (default: OFF)
๐จ Design
- Neon Colors: Vibrant color scheme
- Show HMA Line: Display HMA on chart
- Minimum Score: Filter weak signals
- Label Transparency: Adjust label opacity
- Large Labels: Mobile-friendly sizing
๐ง QQE Settings
- RSI Period: RSI calculation period
- Smoothing: EMA smoothing factor
- AI Score: Enable scoring system
๐ Alerts
- Enable Alerts: Turn on/off notifications
- Minimum Score: Alert threshold
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ CREDITS
QQE concept originally developed by John Ehlers.
HMA (Hull Moving Average) by Alan Hull.
Enhanced with scoring system and MTF support by EduVest.
License: Mozilla Public License 2.0
JRockets MACDThis is my favorite indicator, that I use as one of my conformations before entering a trade in the 15M timeframe This MACD is tailor made by me to work efficient, consistent, and effectively. I back tested tons of times, it helps if you're entering too early, late and even get faked out. The MACD is by far my favorite and one and only indicator, and here's why. The MACD contains 2 EMA lines where it gives me a signal on when to buy or sell. If the Blue line crosses the red line on the bottom of the indicator its giving buy signals as long as the blue line stays on top, and when the red line crosses the blue line on top of the indicator its giving sell signals as long as the redline stay on top. Be sure to pay attention to the candle stick patterns as well and has to be around key levels. What makes this a better signal as well, the MACD has a built-in momentum hologram, some see it as overbought/undersold, or volume indicator. By combining the momentum hologram with your buy/sell ema will prevent you from entering a trade in the wrong area. The momentum hologram is almost self-explanatory, when there is buying pressure, the hologram turns blue, the darker the blue the stronger the momentum as well as the length of the hologram, once is start losing momentum it starts to turn to a lighter blue. Eventually a light red to a solid red showing momentum for a strong sell, this works vice versa. Combing all that at once and built instincts it becomes very effective. You can also use the EMA signals as divergence, but I don't really trade with divergence but could possibly give you conformation. Using the MACD is like having 3-4 indicators in one with all of them working fluent together. I have the MACD locked on the 15M timeframe because that's where it works more accurately. You can make the EMA lines a bit thicker to be easier to see. I would change the MACD visible for the 15M timeframe only or 1M to 1H timeframe. I hope this indicator helps you, as it did for me. You can simply click add on your charts on the top left to get this free indicator. Peace out and enjoy! Be sure to share, this indicator with your friends as it may help someone out.






















